<?php

class Credits
{

    private $title_;
    private $contributions_;
	
	public function __construct()
	{
		$this->title_ = new SimpleText();
		
		// Array de objetos do tipo Contribution.
		$this->contributions_ = array();
	}

	public function getTitle()
	{
		return $this->title_;
	}
	
	public function setTitle( $title )
	{
		$this->title_ = $title;
	}
	
	public function getContributions()
	{
		return $this->contributions_;
	}
	
	public function setContributions( $contributions )
	{
		$this->contributions_ = $contributions;
	}

	public function setProperties( $title, $contributions )
	{
		$this->title_ = $title;
		$this->contributions_ = $contributions;
	}
}
?>